package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.SupervisionLevelSettingCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.SupervisionLevelSettingResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.SupervisionLevelSettingUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.SupervisionLevelSettingEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SupervisionLevelSettingConvert {
    SupervisionLevelSettingConvert INSTANCE = Mappers.getMapper(SupervisionLevelSettingConvert.class);

    SupervisionLevelSettingEntity create(SupervisionLevelSettingCreateDTO s, Long tenantId);

    SupervisionLevelSettingEntity update(SupervisionLevelSettingUpdateDTO s);

    SupervisionLevelSettingResultDTO convert(SupervisionLevelSettingEntity s);

}
